package com.lxd.user.controller;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Objects;

/**
 * @author liuxiaoding
 * @data 2019/7/4
 */
@RestController
public class UserInfoController {

    @RequestMapping(value = "getUserBaseInfo", method= RequestMethod.GET)
    public JSONObject getUserBaseInfo(){
        Objects.equals(1,2);


        JSONObject jsonObject=new JSONObject();
        jsonObject.put("name","用户服务");
        jsonObject.put("index",2);
        return  jsonObject;
    }
}
